
package modelo.dao.hibernate.inter;

import java.io.Serializable;
import java.util.List;
import modelo.dao.hibernate.util.DAOException;

public interface ICrudDAOJPA<T> {

	public void addEntity(T entity) throws DAOException;
	public void updateEntity(T entity) throws DAOException;
	public void removeEntity(T entity) throws DAOException;
	public List<T> findAll() throws DAOException;
	public T findById(Serializable id) throws DAOException; 
	
}
